package com.yfp.client.service;

import com.yfp.client.domain.OrderDetailWait;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author admin
 * @description 针对表【order_detail_wait(订单预计排队时间)】的数据库操作Service
 * @createDate 2024-09-04 13:57:21
 */
public interface OrderDetailWaitService extends IService<OrderDetailWait> {

    /**
     * 更新订单预计排队时间状态
     *
     * @param orderDetailIds
     * @param status
     */
    void updateStatusByOrderDetailId(List<String> orderDetailIds, int status);

    /**
     * 更新前一天的订单预计排队时间状态
     */
    void updateStatus0To2ForPreviousDay();
}
